package com.version.manager.mapper;

import com.version.manager.entity.Role;
import com.version.manager.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleMapper extends Mapper<Role> {
    List<Role> getRoleByUser(@Param("userId")Integer userId);
}
